home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Sprite / Static / Makefile < prev   
Makefile  |  1995-09-04  |  3KB  |  124 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.LoadFile    \
  4.             o.LoadFiles    \
  5.             o.MemSize    \
  6.             o.MemSizeIcn    \
  7.             o.02ScrSave    \
  8.             o.03ScrLoad    \
  9.             o.08ReadCont    \
  10.             o.09InitArea    \
  11.             o.10Load    \
  12.             o.11Merge    \
  13.             o.12Save    \
  14.             o.13GetName    \
  15.             o.15Create    \
  16.             o.16GetUser    \
  17.             o.24Select    \
  18.             o.25Delete    \
  19.             o.26Rename    \
  20.             o.27Copy    \
  21.             o.29CreateMa    \
  22.             o.30RemoveMa    \
  23.             o.31InsertRo    \
  24.             o.32DeleteRo    \
  25.             o.33FlipX    \
  26.             o.34PutUser    \
  27.             o.35Append    \
  28.             o.37CreatePa    \
  29.             o.37ReadPale    \
  30.             o.37RemovePa    \
  31.             o.40ReadInfo    \
  32.             o.41ReadPixe    \
  33.             o.42WritePix    \
  34.             o.43ReadMask    \
  35.             o.44WriteMas    \
  36.             o.45InsertCo    \
  37.             o.46DeleteCo    \
  38.             o.47FlipY    \
  39.             o.49PlotMask    \
  40.             o.50PlotMask    \
  41.             o.52PlotScal    \
  42.             o.53PlotGrey    \
  43.             o.60Redirect    \
  44.             o.62ReadSave    \
  45.             o.UnRedirect    \
  46.             o.WimpPlot    \
  47.  
  48.  
  49. LibName        =    Sprite
  50.  
  51. # Template makefile which makes normal 
  52. # .o files for use in the main static
  53. # linking DeskLib.
  54.  
  55. # The macro $(ObjectFiles) should be set at the 
  56. # start of this file to be a space-separated
  57. # list of object files.
  58. # This is done by 'Makatic'.
  59.  
  60. # The macro $(LibName) should also be set at the 
  61. # start of this file, to be the name of the 
  62. # DeskLib sublibrary.
  63. # This is done by 'Makatic'.
  64.  
  65. # Compiler and linker flags, These can be anything. 
  66. # All essential flags are included in the macros 
  67. # $(CC) and $(ASM)
  68. #
  69. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  70. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  71.  
  72. CC        =    cc -c $(CCFlags)
  73. ASM        =    objasm $(ASMFlags)
  74.  
  75.  
  76. # -------------------------------------------------------
  77. # Everything below here should probably not be changed...
  78. # -------------------------------------------------------
  79.  
  80. # Here's what we want to make...
  81. #
  82. All:        $(ObjectFiles)
  83.  
  84.  
  85. VPATH = @.^
  86.  
  87. .SUFFIXES:    .c .s .o
  88.  
  89. .c.o:
  90.     $(CC) $< -o $@
  91.     
  92. .s.o:
  93.     $(ASM) -from $< -to $@
  94.  
  95.  
  96.  
  97. # Dynamic dependencies:
  98. o.LoadFile:    ^.c.LoadFile
  99. o.LoadFile:    DeskLib:h.Core
  100. o.LoadFile:    DeskLib:h.File
  101. o.LoadFile:    DeskLib:h.SWI
  102. o.LoadFile:    DeskLib:h.Sprite
  103. o.LoadFile:    DeskLib:h.Wimp
  104. o.LoadFile:    DeskLib:h.Coord
  105. o.LoadFiles:    ^.c.LoadFiles
  106. o.LoadFiles:    DeskLib:h.Core
  107. o.LoadFiles:    DeskLib:h.File
  108. o.LoadFiles:    DeskLib:h.SWI
  109. o.LoadFiles:    DeskLib:h.Sprite
  110. o.LoadFiles:    DeskLib:h.Wimp
  111. o.LoadFiles:    DeskLib:h.Coord
  112. o.MemSize:    ^.c.MemSize
  113. o.MemSize:    DeskLib:h.Sprite
  114. o.MemSize:    DeskLib:h.Core
  115. o.MemSize:    DeskLib:h.Wimp
  116. o.MemSize:    DeskLib:h.Coord
  117. o.MemSize:    DeskLib:h.SWI
  118. o.MemSizeIcn:    ^.c.MemSizeIcn
  119. o.MemSizeIcn:    DeskLib:h.Sprite
  120. o.MemSizeIcn:    DeskLib:h.Core
  121. o.MemSizeIcn:    DeskLib:h.Wimp
  122. o.MemSizeIcn:    DeskLib:h.Coord
  123. o.MemSizeIcn:    DeskLib:h.SWI
  124.